﻿using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;

namespace Adnc.Infra.Entities
{
    [Serializable]
    [Index(nameof(Id),IsUnique = true)]
    public class Entity : IEntity<long>
    {
        [Key]
        public long Id { get; set; }
    }
}